Requirement Detail
Contains XML Data that may be used to configure the field instructions for use on AsRequirementField and the detailed view of the Activity Requirement screen.
Note: Requirement details can be configured partially or entirely through CopyBooks.
The context information for definition of Requirement are available in Available Prefix and fields for Requirement Definition. It includes:
- Activity and Transaction information, if the requirement is generated by an activity.
- Policy information, if the requirement is generated for a policy.
- Client information, if the requirement is generated for a client.
- The data elements of the copybook, defined in the three sections of Requirement rule.
The context can be used for field population, or execution of logic in ScreenMath or Action of the Requirement Rule. Requirement Rule has following three parts:
- Requirement Source
- Requirement Definition
- Requirement Result
Fixed Fields on Requirement Detail Screen
The Requirement Detail screen now supports configuration overrides for certain fixed fields. Configurators can control the display of supported fixed fields for Policy, Client, and Policy-Client requirements by using the <FixedFields> element. Fixed fields such as Status, Comments, Requirement Category, Requirement Severity, Created By, Client, Last Updated By, Created On, and Last Updated On can be configured to control their display behavior. Use the <FixedFields> element to override the default display behavior of supported fixed fields on the Requirement Detail screen.
Note:
If the <FixedFields> element is not configured, all supported fixed fields are displayed by default to preserve existing behavior. If an unsupported value is specified in the <Name> element, the field is ignored and is not displayed on the Requirement Detail screen.
Required validation applies only when the fixed field is visible and enabled. If the field is hidden or disabled, Required is ignored.
| Configuration | Expected Result |
|---|---|
| <FixedFields> not configured | All supported fields display by default. |
| Hidden=No, Disabled=No | Field displays and is enabled. |
| Hidden=No, Disabled=Yes | Field displays but is read-only/disabled. |
| Hidden=Yes | Field is not displayed. Any Disabled setting has no visible effect. |
| Field omitted from a partial <FixedFields> configuration | Field displays by default. |
| Unsupported <Name> value | Entry is ignored. |
| Element/Tag | Attributes | Parent Element | Description | Element/Attribute Value |
|---|---|---|---|---|
|
<RequirementDefinition> |
Optional Element | |||
| <CopyBook> | <RequirementDefinition> | See CopyBook Elements | ||
|
<Fields> |
<RequirementDefinition> | See Fields Element for details. | ||
| <Field> | <Fields> | See Fields Element for details. | ||
| <Name> | <Name> | See Fields Element for details. | ||
| <Display> | <Name> | See Fields Element for details. | ||
| <DataType> | <Name> | See Fields Element for details. | ||
| <DefaultValue> | <Name> | See Fields Element for details. | ||
| <Query> | TYPE | <Name> | See Fields Element for details. | FIXED |
| <Query> | Query type for RequirementDefinition element | |||
| <Options> | <Options> | See Fields Element for details. | ||
| <Option> | <Option> | See Fields Element for details. | ||
| <OptionValue> | <Option> | See Fields Element for details. | ||
| <OptionText> | <RequirementDefinition> | See ActionEvents for details. | ||
| <Events> | <RequirementDefinition> | See ActionEvents for details. | ||
| <ScreenMath> | <RequirementDefinition> | See ActionEvents for details. | ||
| <Actions> | Attribute | |||
| <FixedFields> | <RequirementDefinition> |
Optional: Defines the fixed fields for which the default Requirement Detail screen behavior is overridden. If this element is not configured, all supported fixed fields are displayed by default. See Fields Element for details. |
||
| <Field> | <FixedFields> | Defines a fixed field override for the Requirement Detail screen. The field is identified by the <Name> element. | ||
| <Name> | <Field> | Identifies the fixed field to override. For database-backed fields, the value must match the database column name. Unsupported field names are ignored. | Supported values: StatusCode, Comments, CategoryCode, SeverityCode, CreatedBy, Client, LastModifiedBy, CreatedGMT,and LastModifiedGMT | |
| <Display> | <Field> | Specifies the display label for the fixed field. | ||
| <Hidden> | <Field> | Indicates whether the fixed field is hidden on the Requirement Detail screen. | Yes or No | |
| <Disabled> | <Field> | Indicates whether the fixed field is disabled on the Requirement Detail screen. | Yes or No | |
| <Expanded> | <Field> | Indicates whether the fixed field is expanded on the Requirement Detail screen. | Yes or No | |
| <Mask> | <Field> | Specifies the mask for the fixed field. | ||
| <Required> | <Field> | Indicates whether the fixed field is required. Required validation applies only when the field is visible and enabled. If the field is hidden or disabled, Required is ignored. | Yes or No | |
| <Query> | <Field> | Specifies the query for the fixed field. |
Supported Fixed Fields
| Fixed Field | <Name> Value | Default Display Label |
| Status | StatusCode | Requirement Status |
| Requirement Severity | SeverityCode | Requirement Severity |
| Requirement Category | CategoryCode | Requirement Category |
| Last Updated On | LastModifiedGMT | Last Updated On |
| Last Updated By | LastModifiedBy | Last Updated By |
| Created On | CreatedGMT | Created On |
| Created By | CreatedBy | Created By |
| Client | Client | Client |
| Comments | Comments | Additional Information |
XML Example - XML Data
<RequirementDefinition>
<CopyBook>CopyBook-Requirements</CopyBook>
<Fields>
<Field>
<Name>MailingDate</Name>
<Display>Mailing Date</Display>
<DataType>Date</DataType>
</Field>
<Field>
<Name>AlternateIndicator</Name>
<Display>Alternate Indicator</Display>
<DataType>Combo</DataType>
<DefaultValue>01</DefaultValue>
<Query TYPE="FIXED">
<Options>
<Option>
<OptionValue>01</OptionValue>
<OptionText>Indicator 1</OptionText>
</Option>
<Option>
<OptionValue>02</OptionValue>
<OptionText>Indicator 2</OptionText>
</Option>
</Options>
</Query>
</Field>
<Field>
<Name>FormNumber</Name>
<Display>Form Number</Display>
<DataType>Text</DataType>
<DefaultValue>PR-72 (3/10)</DefaultValue>
</Field>
<Field>
<Name>Comments</Name>
<Display>Comments</Display>
<DataType>Text</DataType>
</Field>
</Fields>
</RequirementDefinition>
XML Definition
<Requirement>
<States>
<State STATUS="00" NAME="New">
</State>
<State STATUS="02" NAME="Pending">
<Math>
<MathVariables>
<MathVariable VARIABLENAME="PolicyGUIDMV" TYPE="FIELD" DATATYPE="TEXT">Policy:PolicyGUID</MathVariable>
<MathVariable VARIABLENAME="PlanGUIDMV" TYPE="FIELD" DATATYPE="TEXT">Policy:PlanGUID</MathVariable>
<MathVariable VARIABLENAME="RequirementGUIDMV" TYPE="FIELD" DATATYPE="TEXT">Requirement:RequirementGUID</MathVariable>
<MathVariable VARIABLENAME="RequirementStatusMV" TYPE="FIELD" DATATYPE="TEXT">Requirement:StatusCode</MathVariable>
<MathVariable VARIABLENAME="RequirementCommentsMV" TYPE="FIELD" DATATYPE="TEXT">Requirement:Comments</MathVariable>
</MathVariables>
</Math>
</State>
<State STATUS="03" NAME="Completed"/>
<State STATUS="05" NAME="Cancelled"/>
</States>
</Requirement>
XML Schema - Supported Fixed Fields
<RequirementDefinition>
<FixedFields>
<Field>
<Name>CategoryCode</Name>
<Display>Requirement Category</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>SeverityCode</Name>
<Display>Requirement Severity</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>Comments</Name>
<Display>Requirement Comments</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
</FixedFields>
<Fields>
<Field>
<Name>SignedDate</Name>
<Display>Signed Date</Display>
<DataType>Date</DataType>
</Field>
</Fields>
</RequirementDefinition>
XML Example - All Supported Fixed Fields
<FixedFields>
<Field>
<Name>StatusCode</Name>
<Display>Status</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>Comments</Name>
<Display>Requirement Notes</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>CategoryCode</Name>
<Display>Requirement Category</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>SeverityCode</Name>
<Display>Requirement Severity</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>CreatedBy</Name>
<Display>Created By</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>Client</Name>
<Display>Client</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>LastModifiedBy</Name>
<Display>Last Updated By</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>CreatedGMT</Name>
<Display>Created On</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
<Field>
<Name>LastModifiedGMT</Name>
<Display>Last Updated On</Display>
<Hidden>No</Hidden>
<Disabled>No</Disabled>
<Required>Yes</Required>
</Field>
</FixedFields>